using System;
using System.Collections.Generic;
using System.Text;

namespace Mono.Boost.Graph
{
    public class GenericGraph<V,E> 
        where 
        E : IEdgesCollection 
        where
        V : IVerticesCollection
    {
        protected E _edges;
        protected V _vertices;

        public GenericGraph (V vertices, E edges)//:_vertices(vertices),_edges(edges)
        {
            _edges = edges;
            _vertices = vertices;
        }

        public bool Directed
        {
            get
            {
                return _edges.Directed;
            }
        }

        public E Edges
        {
            get
            {
                return _edges;
            }
        }
        public V Vertices
        {
            get
            {
                return _vertices;
            }
        }

    }
}
